[paket]
tanim   = Uygulama eşleştirme çerçevesi
paketci = Cihan_Alkan
grup 	= ukui
url     = https://launchpad.net/bamf

[gerek]
derleme = gnome-common
calisma = libgtop libwnck

[kaynak]
gz = https://launchpad.net/bamf/0.5/$surum/+download
#https://launchpad.net/bamf/0.5/0.5.5/+download/bamf-0.5.5.tar.xz
2 = https://github.com/archlinux/svntogit-community/raw/packages/bamf/trunk/bamf-no-gtester2xunit.patch
3 = https://github.com/archlinux/svntogit-community/raw/packages/bamf/trunk/bamf-no-werror.patch

[sha512]

[derle]
#betik 	= cd bamf-$surum
betik 	= patch -Np1 -i /sources/bamf-no-gtester2xunit.patch
betik 	= patch -Np1 -i /sources/bamf-no-werror.patch
betik 	= sed -i configure -e 's;if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null);if false;'
betik 	= sed -i configure -e '/CFLAGS=/s/ \-Werror / /'
betik 	= ./autogen.sh --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --sysconfdir=/etc --enable-gtk-doc=no
betik 	= sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
betik 	= make

[pakur]
betik = cd ../
betik 	= make DESTDIR="${PKG}" -C bamf-0.5.4 install
